<?php session_start(); 
include('includes/connexion.php');
$adminmanager = new AdminManager($connexion);
$adminmanager->deconnexion();
?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
  <title>Login - Target Admin</title>

  <meta charset="utf-8">
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width">

  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,400,600,700">
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Oswald:400,300,700">
  <link rel="stylesheet" href="css/font-awesome.min.css">
  <link rel="stylesheet" href="js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.min.css">
  <link rel="stylesheet" href="css/bootstrap.min.css">

    <!-- App CSS -->
  <link rel="stylesheet" href="css/target-admin.css">
  <link rel="stylesheet" href="css/custom.css">


  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
  <![endif]-->
</head>

<body class="account-bg">

<hr class="account-header-divider">

<div class="account-wrapper">

  <div class="account-logo">
    <img src="img/logo-login.png" alt="Target Admin">
  </div>

    <div class="account-body">

      <h3 class="account-body-title">Bienvenue.</h3>
      <?php if(isset($_GET['msg'])){ echo '<h3 class="account-body-subtitle">'.$_GET["msg"].'</h3>'; } ?>

      <form class="form account-form" method="POST" action="index.php">
        
        <div class="form-group">
          <label for="login-username" class="placeholder-hidden">Code d'accès</label>
          <input type="text" class="form-control" id="login-code" name="login-code" placeholder="Code d'accès" tabindex="1">

        </div> <!-- /.form-group -->
        <p align="center">OU</p>
        <div class="form-group">
          <label for="login-username" class="placeholder-hidden">Nom d'utilisateur</label>
          <input type="text" class="form-control" id="login-username" name="login-username" placeholder="Nom d'utilisateur" tabindex="1">

        </div> <!-- /.form-group -->

        <div class="form-group">
          <label for="login-password" class="placeholder-hidden">Mot de passe</label>
          <input type="password" class="form-control" id="login-password" name="login-password" placeholder="Mot de passe" tabindex="2">
        </div> <!-- /.form-group -->

        <div class="form-group">
          <button type="submit" class="btn btn-primary btn-block btn-lg" tabindex="4">
            Connexion &nbsp; <i class="fa fa-play-circle"></i>
          </button>
        </div> <!-- /.form-group -->

      </form>


    </div> <!-- /.account-body -->

  </div> <!-- /.account-wrapper -->



        

  <script src="js/libs/jquery-1.10.1.min.js"></script>
  <script src="js/libs/jquery-ui-1.9.2.custom.min.js"></script>
  <script src="js/libs/bootstrap.min.js"></script>

  <!--[if lt IE 9]>
  <script src="./js/libs/excanvas.compiled.js"></script>
  <![endif]-->
  <!-- App JS -->
  <script src="js/target-admin.js"></script>
  
  <!-- Plugin JS -->
  <script src="js/target-account.js"></script>

  


  

</body>
</html>
